package com.leyou.item.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * description: 品牌实体类
 * @author 朱正磊
 * @date 2021-03-28 10:35:27
 */
@Data
@Table(name = "tb_brand")
public class Brand {

    /**
     * 自增长主键，品牌id
     */
    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;

    /**
     * 品牌名称
     */
    private String name;

    /**
     * 品牌图片地址
     */
    private String image;

    /**
     * 品牌的首字母
     */
    private Character letter;

}
